import http from '@/utils/http';

export const save = data => http.post({
  url: '/assetsZj/save',
  data,
});

export const getList = params => http.get({
  url: '/assetsZj/getList',
  params,
});

export const remove = params => http.get({
  url: '/assetsZj/remove',
  params,
});

export const getAssetsZj = params => http.get({
  url: '/assetsZj/getAssetsZj',
  params,
});

export const getAssetsHt = params => http.get({
  url: '/assetsZj/getAssetsHt',
  params,
});

export const updateZt = params => http.get({
  url: '/assetsZj/updateZt',
  params,
});

export const exportExcel = params => http.get({
  url: '/assetsZj/exportExcel',
  params,
  responseType: 'blob',
});

export const exportExcelAll = params => http.get({
  url: '/assetsZj/exportExcelAll',
  params,
  responseType: 'blob',
});

export const getAuditCount = params => http.get({
  url: '/assetsZj/getAuditCount',
  params,
});

export const getExpire = params => http.get({
  url: '/assetsZj/getExpire',
  params,
});
